#pragma once

#include "../../service.h"

class Gateway;

class Logout : public Service
{	
	enum State
	{
		STATE_START = 0,
		STATE_LOGOUT,
		STATE_END,
	};

public:

	Logout();
	virtual ~Logout();

	virtual void Update();

private:

	void SetState(State state);
	inline void SetNextState(State state){ m_nextState = state;};

private:

	State m_state;
	State m_nextState;
};

CREATE_SERVICE(Logout);